import time

import cv2
from skimage.metrics import structural_similarity as compare_ssim

t1 = round(time.perf_counter(), 3) * 1000
bag = cv2.imread("", 0)
bag1 = cv2.imread("", 0)
res = compare_ssim(bag, bag1)
print(res)
print(round(time.perf_counter(), 3) * 1000 - t1)
